﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AexoManager.Datos
{
    public partial class Despiece
    {
        public IList<Despiece> Child { get; set; }

        public bool EsInsumo { get; set; }

        public static string ArmarPadre(List<string> padres)
        {
            string idpadre = "";
            try
            {
                foreach (var item in padres)
                {
                    idpadre += item;
                }
            }
            catch (Exception)
            {
                throw;
            }
            return idpadre;
        }
    }
}
